<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8"/>
    <title>微分享-用户注册</title>
    <link rel="shortcut icon" th:href="@{/static/img/favicon.ico}" />
    <link rel="stylesheet" th:href="@{/static/assets/css/amazeui.min.css}"/>
    <style>
        .header {
            text-align: center;
        }

        .header h1 {
            font-size: 200%;
            color: #333;
            margin-top: 30px;
        }

        .header p {
            font-size: 14px;
        }
    </style>
    <script th:src="@{/static/assets/js/jquery.min.js}"></script>
    <script th:src="@{/static/js/public.js}"></script>
    <script th:src="@{/static/js/register.js}"></script>
</head>
<body>
<div class="header">
    <div class="am-g">
        <h1>微分享-普通用户注册</h1>
    </div>
    <hr/>
</div>
<div class="am-g">
    <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
        <form method="post" class="am-form">
            <div class="signin">
                <p>邮箱：</p><input id='email' name='email' type="text" class="user"/>
                <p>密码：</p><input id='password' name='password' type="password" class="pass"/>
                <p>重复密码：</p><input id='repassword' name='repassword' type="password" class="user"/>
                <p>电话：</p><input id="phone" name='phone' type="text" class="user"/>
                <div class="am-cf">
                    <input type="button" class="am-btn am-btn-primary am-btn-sm am-fl"
                           onclick="register(2)" value="注册"/>
                </div>
                <span id="error_message" style="color: red"></span>
            </div>
        </form>
        <p>周航@成都信息工程大学, All Rights Reserved.</p>
    </div>
</div>
</body>
</html>
